/*
 * @Author: zhangweinan
 * @Date: 2023-07-27 11:09:11
 * @LastEditors: hhh
 * @LastEditTime: 2024-01-16 21:21:50
 * @Description: file content
 * @FilePath: \cty_admin\src\views\deviceManage\myDevice\config\content.config.js
 */
export const contentConfig = {
  pageUrl: "/device/myDeviceList",
  title: "table",
  showBack: true,
  propList: [
    { prop: "sn", label: "设备编号", minWidth: "150" },
    { prop: "name", label: "设备名称", minWidth: "80" },
    { prop: "groupName", label: "分组", minWidth: "80" },
    { prop: "onUse", label: "是否安装", minWidth: "80",slotName: "onUse"  },
    { prop: "onlineCode", label: "在线状态", minWidth: "100", slotName: "onlineCode"  },
    { prop: "totalIncome", label: "总收益/元", minWidth: "80" },
    { prop: "description", label: "备注", minWidth: "120" },
    {
      label: "操作",
      minWidth: "280",
      slotName: "operate",
      // fixed: "right",
    },
  ],
  showIndexColumn: false,
  showSelectColumn: true,
  pageInfo: {
    loading: false,
    currentPage: 1,
    pageSize: 10,
    total: 0,
  },
};
